package com.engine4cloud.tdf.common.core.constant.enums;

import jakarta.persistence.EnumType;
import jakarta.persistence.Enumerated;

import java.io.Serializable;

/**
 * 用户账号类型
 */
public enum AccountTypeEnum implements Serializable {
    FUNCTIONARY("FUNCTIONARY", "社区矫正工作人员"),
    COMMUNITY_WORKER("COMMUNITY_WORKER", "社会工作者"),
    COMMUNITY_VOLUNTEER("COMMUNITY_VOLUNTEER", "志愿者"),
    CORRECTOR("CORRECTOR", "矫正对象");
    @Enumerated(EnumType.STRING)
    private String type;
    private String desc;

    AccountTypeEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
